package com.zmc.product.infrastructure.enums;

import lombok.Getter;

/**
 * @Author：zmc
 * @Date：2024/10/18 15:08
 *
 */

@Getter
public enum ProductStatusEnum {

    //商品状态
    PRODUCT_AUDIT(1, "待审核"),
    PRODUCT_AUDITING(2, "审核中"),
    PRODUCT_AUDIT_REJECT(3, "审核未通过"),
    PRODUCT_WAIT_LIST(4, "待上架"),
    PRODUCT_HAS_LIST(5, "已上架"),

    //类目属性类型
    CATEGORY_PROPERTY_TYPE_SALE(1,"销售属性"),
    CATEGORY_PROPERTY_TYPE_BASE(2,"基础属性"),
    ;
    final int code;

    final String msg;

    ProductStatusEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
